package com.kucun.Dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kucun.bean.Goods;
import com.kucun.bean.Page;

public interface GoodsMapper {
	
    boolean deleteByPrimaryKey(@Param("ids")String ids);

    int insert(Goods record);

    Integer insertSelective(Goods record);

    Goods selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(Goods record);

    boolean updateByPrimaryKey(Goods record);

	List<Goods> findAll(Page page);
	List<Goods> findAll1();
	Page getCount(Page page);
	
	public int updateGoodsForDel(@Param("ids")String ids);
	
	
	//用于查库存
	List<Goods> GetGoodsExistOut(Page page);
	public Page GetGoodsExistOutCount(Page page) ;
	/*******验证库存数据*******/
	List<Goods> VerifyinventoryDate(@Param("ids")String ids);
}